home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / drv_setparm.z / drv_setparm
Encoding:
Text File  |  2002-10-03  |  6.2 KB  |  132 lines

  1.  
  2.  
  3.  
  4. ddddrrrrvvvv____sssseeeettttppppaaaarrrrmmmm((((DDDD3333))))                                                ddddrrrrvvvv____sssseeeettttppppaaaarrrrmmmm((((DDDD3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _dddd_rrrr_vvvv______ssss_eeee_tttt_pppp_aaaa_rrrr_mmmm - set kernel state information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.      _iiii_nnnn_tttt _dddd_rrrr_vvvv______ssss_eeee_tttt_pppp_aaaa_rrrr_mmmm_((((_uuuu_llll_oooo_nnnn_gggg______tttt _p_a_r_m_,,,, _uuuu_llll_oooo_nnnn_gggg______tttt _v_a_l_u_e_))))_;;;;
  15.  
  16.    AAAArrrrgggguuuummmmeeeennnnttttssss
  17.      _p_a_r_m      The kernel parameter to be updated.
  18.  
  19.      _v_a_l_u_e     The value to be added to the parameter.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _dddd_rrrr_vvvv______ssss_eeee_tttt_pppp_aaaa_rrrr_mmmm verifies that _p_a_r_m corresponds to a kernel parameter that may
  23.      be modified.  If the value of _p_a_r_m corresponds to a parameter that may
  24.      not be modified, -1 is returned.  Otherwise, the parameter is incremented
  25.      by _v_a_l_u_e.
  26.  
  27.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  28.      If the function is successful, 0 is returned.  Otherwise, -1 is returned
  29.      to indicate that _p_a_r_m specified an invalid parameter.
  30.  
  31. UUUUSSSSAAAAGGGGEEEE
  32.      No checking is performed to determine the validity of _v_a_l_u_e.  It is the
  33.      driver's responsibility to guarantee the correctness of _v_a_l_u_e.
  34.  
  35.      Valid values for _p_a_r_m are:
  36.  
  37.           _SSSS_YYYY_SSSS_CCCC_AAAA_NNNN_CCCC   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._cccc_aaaa_nnnn_cccc_hhhh.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._cccc_aaaa_nnnn_cccc_hhhh is a count of
  38.                     the number of characters received from a terminal device
  39.                     after the characters have been processed to remove special
  40.                     characters such as _b_r_e_a_k or _b_a_c_k_s_p_a_c_e.
  41.  
  42.           _SSSS_YYYY_SSSS_MMMM_IIII_NNNN_TTTT   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._mmmm_dddd_mmmm_iiii_nnnn_tttt.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._mmmm_dddd_mmmm_iiii_nnnn_tttt is a count of
  43.                     the number of modem interrupts received.
  44.  
  45.           _SSSS_YYYY_SSSS_OOOO_UUUU_TTTT_CCCC   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._oooo_uuuu_tttt_cccc_hhhh.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._oooo_uuuu_tttt_cccc_hhhh is a count of
  46.                     the number of characters output to a terminal device.
  47.  
  48.           _SSSS_YYYY_SSSS_RRRR_AAAA_WWWW_CCCC   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._rrrr_aaaa_wwww_cccc.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._rrrr_aaaa_wwww_cccc is a count of the
  49.                     number of characters received from a terminal device,
  50.                     before canonical processing has occurred.
  51.  
  52.           _SSSS_YYYY_SSSS_RRRR_IIII_NNNN_TTTT   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._rrrr_cccc_vvvv_iiii_nnnn_tttt.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._rrrr_cccc_vvvv_iiii_nnnn_tttt is a count of
  53.                     the number of interrupts generated by data ready to be
  54.                     received from a terminal device.
  55.  
  56.           _SSSS_YYYY_SSSS_XXXX_IIII_NNNN_TTTT   Add _v_a_l_u_e to _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._xxxx_mmmm_tttt_iiii_nnnn_tttt.  _ssss_yyyy_ssss_iiii_nnnn_ffff_oooo_...._xxxx_mmmm_tttt_iiii_nnnn_tttt is a count of
  57.                     the number of interrupts generated by data ready to be
  58.                     transmitted to a terminal device.
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. ddddrrrrvvvv____sssseeeettttppppaaaarrrrmmmm((((DDDD3333))))                                                ddddrrrrvvvv____sssseeeettttppppaaaarrrrmmmm((((DDDD3333))))
  69.  
  70.  
  71.  
  72.    LLLLeeeevvvveeeellll
  73.      Base or Interrupt.
  74.  
  75.    SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
  76.      Does not sleep.
  77.  
  78.      Driver-defined basic locks, read/write locks, and sleep locks may be held
  79.      across calls to this function.
  80.  
  81. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  82.      _dddd_rrrr_vvvv______gggg_eeee_tttt_pppp_aaaa_rrrr_mmmm(D3)
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                                                         PPPPaaaaggggeeee 2222
  128.  
  129.  
  130.  
  131.